package cn.phecda.boot.tenant;

import cn.phecda.boot.tenant.core.configuration.TenantCoreConfiguration;
import cn.phecda.boot.tenant.data.configuration.TenantDataConfiguration;
import cn.phecda.boot.tenant.web.configuration.TenantWebConfiguration;
import jakarta.annotation.PostConstruct;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Import;

/**
 * <p> 自动配置 </p>
 *
 * @author : wanpinwei
 */
@Slf4j
@AutoConfiguration
@Import({
        TenantCoreConfiguration.class,
        TenantDataConfiguration.class,
        TenantWebConfiguration.class
})
public class TenantAutoConfiguration {

    @PostConstruct
    public void postConstruct() {
        log.info("|Phecda Boot Tenant|- Tenant Auto Configuration");
    }

}
